﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="AlertasVehiculos.ascx.cs" Inherits="AlertasVehiculos" %>
<%@ Register assembly="DevExpress.Web.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxDataView" tagprefix="dxdv" %>
<%@ Register assembly="DevExpress.Web.ASPxEditors.v9.2, Version=9.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web.ASPxEditors" tagprefix="dxe" %>
<dxdv:ASPxDataView ID="dvAlertasEntrega" runat="server" ColumnCount="10" 
    DataSourceID="dsAlertas" RowPerPage="1" BackColor="#F7F7F7" Height="0px" 
    ItemSpacing="10px" onload="dvAlertasEntrega_Load">
    <ItemTemplate>
        <dxe:ASPxHyperLink ID="lnkPatente" runat="server" 
            NavigateUrl='<%# Eval("URLAsociada") %>' 
            Text='<%# Eval("PatenteParaAlertas") %>' 
            ToolTip='<%# Eval("ToolTip") %>' />
        <br />
        <dxe:ASPxHyperLink ID="lnkFecha" runat="server" 
            NavigateUrl='<%# Eval("URLAsociada") %>' 
            Text='<%# Eval("FechaEntregaEstimadaParaAlertas") %>' 
            ToolTip='<%# Eval("ToolTip") %>' />
        <br/>

    </ItemTemplate>
    <Paddings Padding="3px" />
    <PagerSettings Visible="False">
    </PagerSettings>
    <ContentStyle BackColor="#F7F7F7">
    </ContentStyle>
    <ItemStyle BackColor="#F7F7F7" Height="0px" HorizontalAlign="Center" 
        Width="0px">
    <Paddings Padding="0px" />
    <Border BorderWidth="0px" />
    </ItemStyle>
    <EmptyDataTemplate>
    </EmptyDataTemplate>
    <Border BorderWidth="1px" BorderStyle="Solid" />
    <DisabledStyle>
        <Border BorderWidth="0px" />
    </DisabledStyle>
</dxdv:ASPxDataView>
<asp:ObjectDataSource ID="dsAlertas" runat="server" 
    OldValuesParameterFormatString="original_{0}" 
    SelectMethod="ObtenerPorEmpleadoIdResponsable" TypeName="SGT_ON.Alerta" 
    onselecting="dsAlertas_Selecting" onselected="dsAlertas_Selected">
    <SelectParameters>
        <asp:ProfileParameter DefaultValue="-1" Name="pEmpleadoIdResponsable" 
            PropertyName="IdEnSistema" Type="Int32" />
    </SelectParameters>
</asp:ObjectDataSource>

